Set-ItemProperty -Path "$reg" -name IsReadOnly -value $false
@"
[RegistrationInfo]
ValidationData3=0
RegistrationKey=DCCMD-8HC7C-M84UU-S4CAV-2253D
RegisteredTo=User
ValidationData1=V8EHCkXIvl|JYXzO
ValidationData2=1
"@|set-content -LiteralPath "$reg"
Set-ItemProperty -Path "$reg" -name IsReadOnly -value $true
set-Itemproperty 'HKLM:\SOFTWARE\TechSmith\Camtasia Studio\19.0' -name "InstallLang" -value "CHS"
#"InstallLang"="ENU"
